package com.wanmait.recruit.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class EducationExp implements Serializable {
    private Integer id;

    /**
	* 用户ID
	*/
    private Integer personId;

    /**
	* 简历ID
	*/
    private Integer resumeId;

    /**
	* 学校ID
	*/
    private Integer schoolId;
    private School school;
    /**
	* 开始时间
	*/

    private Date startTime;

    /**
	* 毕业时间
	*/

    private Date graduationTime;

    /**
	* 在校经历
	*/
    private String associationActivity;

    /**
	* 是否全日制
	*/
    private Boolean isFullTime;

    /**
	* 专业名称
	*/
    private String professionalName;

    /**
	* 学历类型ID
	*/
    private Integer educationalBackgroundTypeId;
    private EducationalBackgroundType educationalBackgroundType;

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public EducationalBackgroundType getEducationalBackgroundType() {
        return educationalBackgroundType;
    }

    public void setEducationalBackgroundType(EducationalBackgroundType educationalBackgroundType) {
        this.educationalBackgroundType = educationalBackgroundType;
    }

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    public Integer getResumeId() {
        return resumeId;
    }

    public void setResumeId(Integer resumeId) {
        this.resumeId = resumeId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getGraduationTime() {
        return graduationTime;
    }

    public void setGraduationTime(Date graduationTime) {
        this.graduationTime = graduationTime;
    }

    public String getAssociationActivity() {
        return associationActivity;
    }

    public void setAssociationActivity(String associationActivity) {
        this.associationActivity = associationActivity;
    }

    public Boolean getIsFullTime() {
        return isFullTime;
    }

    public void setIsFullTime(Boolean isFullTime) {
        this.isFullTime = isFullTime;
    }

    public String getProfessionalName() {
        return professionalName;
    }

    public void setProfessionalName(String professionalName) {
        this.professionalName = professionalName;
    }

    public Integer getEducationalBackgroundTypeId() {
        return educationalBackgroundTypeId;
    }

    public void setEducationalBackgroundTypeId(Integer educationalBackgroundTypeId) {
        this.educationalBackgroundTypeId = educationalBackgroundTypeId;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", personId=").append(personId);
        sb.append(", resumeId=").append(resumeId);
        sb.append(", schoolId=").append(schoolId);
        sb.append(", startTime=").append(startTime);
        sb.append(", graduationTime=").append(graduationTime);
        sb.append(", associationActivity=").append(associationActivity);
        sb.append(", isFullTime=").append(isFullTime);
        sb.append(", professionalName=").append(professionalName);
        sb.append(", educationalBackgroundTypeId=").append(educationalBackgroundTypeId);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}